package com.wrox.beginspring.pix.model;

import java.util.ArrayList;
import java.util.List;

public class Affiliate extends PixUser {

    private String companyName;
    private String faxNumber;
    private String websiteURL;

    public Affiliate() {
    }

    public Affiliate(int userID, String userName, String firstName, String lastName,
            String email, String password, String companyName, String faxNumber,
            String websiteURL) {
        super(userID, userName, firstName, lastName, email, password);
        setCompanyName(companyName);
        setFaxNumber(faxNumber);
        setWebsiteURL(websiteURL);
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public void setFaxNumber(String faxNumber) {
        this.faxNumber = faxNumber;
    }

    public void setWebsiteURL(String websiteURL) {
        this.websiteURL = websiteURL;
    }

    public String getFaxNumber() {
        return faxNumber;
    }

    public String getWebsiteURL() {
        return websiteURL;
    }

    public String getCompanyName() {
        return companyName;
    }
}